#!/usr/bin/python
# -*- coding: UTF-8 -*-
import re

#duqu
with open("./darknet/MFwanzheng.txt") as f:
    no_person_frame=0
    i=1
    line = f.readline()
    while line:
    	m=re.search("person",line)
    	if m==None:
    		no_person_frame=no_person_frame+1
    	i=i+1
    	line = f.readline()

print no_person_frame

